LIBS=`pkg-config --libs gtk+-2.0 glib-2.0 goocanvas`
CFLAGS=`pkg-config --cflags gtk+-2.0 glib-2.0 goocanvas` -I../

all: test1 test2 test3

test1: gtktimeline.o gtktransition.o gtktransitionstate.o test1.o
	gcc -g $(LIBS) $^ -o $@

test2: gtktimeline.o gtktransition.o gtktransitionstate.o test2.o
	gcc -g $(LIBS) $^ -o $@

test3: gtktimeline.o gtktransition.o gtktransitionstate.o test3.o
	gcc -g $(LIBS) $^ -o $@

clean: 
	rm -f test1 test2 test3 *.o

%.o: %.c
	gcc -g $(CFLAGS) -c $^ -o $@
